package com.hckjsec.cloud.domain;

import java.io.Serializable;
import java.util.Date;
import com.fasterxml.jackson.annotation.JsonFormat;
import com.hckjsec.common.annotation.Excel;
import com.hckjsec.common.core.domain.BaseEntity;
import org.apache.commons.lang3.builder.ToStringBuilder;
import org.apache.commons.lang3.builder.ToStringStyle;

/**
 * applets配置对象 applets_config
 * 
 * @author cyt
 * @date 2021-07-27
 */
public class AppletsConfig implements Serializable
{
    private static final long serialVersionUID = 1L;

    /** id */
    private Long id;

    /** 部门id */
    @Excel(name = "部门id")
    private Long deptId;

    /** 类型 */
    @Excel(name = "类型")
    private Long type;

    /** 名称 */
    @Excel(name = "名称")
    private String name;

    /** 简称 */
    @Excel(name = "简称")
    private String abbreviation;

    /** appid */
    @Excel(name = "appid")
    private String appid;

    /** appkey */
    @Excel(name = "appkey")
    private String appkey;

    /** appsecret */
    @Excel(name = "appsecret")
    private String appsecret;

    /** 域名 */
    @Excel(name = "域名")
    private String domainname;

    /** 经度 */
    @Excel(name = "经度")
    private String longitude;

    /** 纬度 */
    @Excel(name = "纬度")
    private String latitude;

    /** 机构地址 */
    @Excel(name = "机构地址")
    private String address;

    /** 机构电话 */
    @Excel(name = "机构电话")
    private String telephone;

    /** 静态资源地址 */
    @Excel(name = "静态资源地址")
    private String staticurl;

    /** logo地址 */
    @Excel(name = "logo地址")
    private String logo;

    /** 全局颜色 */
    @Excel(name = "全局颜色")
    private String rgb;

    /** 状态 */
    @Excel(name = "状态")
    private String state;

    /** 操作人 */
    @Excel(name = "操作人")
    private Long operator;

    /** 操作时间 */
    @JsonFormat(pattern = "yyyy-MM-dd HH:mm:ss")
    @Excel(name = "操作时间", width = 30, dateFormat = "yyyy-MM-dd HH:mm:ss")
    private Date operatortime;

    public void setId(Long id)
    {
        this.id = id;
    }

    public Long getId()
    {
        return id;
    }
    public void setDeptId(Long deptId)
    {
        this.deptId = deptId;
    }

    public Long getDeptId()
    {
        return deptId;
    }
    public void setType(Long type)
    {
        this.type = type;
    }

    public Long getType()
    {
        return type;
    }
    public void setName(String name)
    {
        this.name = name;
    }

    public String getName()
    {
        return name;
    }
    public void setAbbreviation(String abbreviation)
    {
        this.abbreviation = abbreviation;
    }

    public String getAbbreviation()
    {
        return abbreviation;
    }
    public void setAppid(String appid)
    {
        this.appid = appid;
    }

    public String getAppid()
    {
        return appid;
    }
    public void setAppkey(String appkey)
    {
        this.appkey = appkey;
    }

    public String getAppkey()
    {
        return appkey;
    }
    public void setAppsecret(String appsecret)
    {
        this.appsecret = appsecret;
    }

    public String getAppsecret()
    {
        return appsecret;
    }
    public void setDomainname(String domainname)
    {
        this.domainname = domainname;
    }

    public String getDomainname()
    {
        return domainname;
    }
    public void setLongitude(String longitude)
    {
        this.longitude = longitude;
    }

    public String getLongitude()
    {
        return longitude;
    }
    public void setLatitude(String latitude)
    {
        this.latitude = latitude;
    }

    public String getLatitude()
    {
        return latitude;
    }
    public void setAddress(String address)
    {
        this.address = address;
    }

    public String getAddress()
    {
        return address;
    }
    public void setTelephone(String telephone)
    {
        this.telephone = telephone;
    }

    public String getTelephone()
    {
        return telephone;
    }
    public void setStaticurl(String staticurl)
    {
        this.staticurl = staticurl;
    }

    public String getStaticurl()
    {
        return staticurl;
    }
    public void setLogo(String logo)
    {
        this.logo = logo;
    }

    public String getLogo()
    {
        return logo;
    }
    public void setRgb(String rgb)
    {
        this.rgb = rgb;
    }

    public String getRgb()
    {
        return rgb;
    }
    public void setState(String state)
    {
        this.state = state;
    }

    public String getState()
    {
        return state;
    }
    public void setOperator(Long operator)
    {
        this.operator = operator;
    }

    public Long getOperator()
    {
        return operator;
    }
    public void setOperatortime(Date operatortime)
    {
        this.operatortime = operatortime;
    }

    public Date getOperatortime()
    {
        return operatortime;
    }

    @Override
    public String toString() {
        return new ToStringBuilder(this, ToStringStyle.MULTI_LINE_STYLE)
                .append("id", getId())
                .append("deptId", getDeptId())
                .append("type", getType())
                .append("name", getName())
                .append("abbreviation", getAbbreviation())
                .append("appid", getAppid())
                .append("appkey", getAppkey())
                .append("appsecret", getAppsecret())
                .append("domainname", getDomainname())
                .append("longitude", getLongitude())
                .append("latitude", getLatitude())
                .append("address", getAddress())
                .append("telephone", getTelephone())
                .append("staticurl", getStaticurl())
                .append("logo", getLogo())
                .append("rgb", getRgb())
                .append("state", getState())
                .append("operator", getOperator())
                .append("operatortime", getOperatortime())
                .toString();
    }
}
